package com.sciencep.pro.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 
 *
 * @author Sciencep
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 钉钉用户ID
     */
        @TableField("userId")
    private String userId;


    /**
     * 钉钉唯一标识
     */
    @TableField("unionId")
    private String unionId;


    /**
     * 公司type
     */
    @TableField("companyType")
    private Integer companyType;

    /**
     * 员工名字
     */
        @TableField("userName")
    private String userName;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 职位
     */
    private String position;

    /**
     * 头像url
     */
    private String avatar;

    /**
     * 入职时间
     */
        @TableField("hiredDate")
    private Date hiredDate;

    /**
     * 员工工号
     */
        @TableField("jobNumber")
    private String jobNumber;

    /**
     * 离职状态
     */
        @TableField("isResign")
    private Integer isResign;

    /**
     * 是否为管理员
     */
        @TableField("isAdmin")
    private Integer isAdmin;

    /**
     * 是否是高管
     */
        @TableField("isSenior")
    private Integer isSenior;

    /**
     * 办公地点
     */
        @TableField("workPlace")
    private String workPlace;

    /**
     * 员工类型
     */
        @TableField("employeeType")
    private String employeeType;

    /**
     * 员工状态
     */
        @TableField("employeeStatus")
    private String employeeStatus;


}
